package com.iot.model;

import lombok.Data;

/***
 * 数据库对象
 * @author: dh
 * @date: 2020-07-17 18:00:27
 */
@Data
public class DBModel {
    private String simpleType;
    private String name;
    private String upperName;
    private String desc;
    private Boolean id;
    private String column;
    private String sqlType;
    private String identity;

    public DBModel(String simpleType, String name, String upperName, String desc, Boolean id, String column, String identity, String sqlType) {
        this.simpleType = simpleType;
        this.name = name;
        this.upperName = upperName;
        this.desc = desc;
        this.id = id;
        this.column = column;
        this.identity = identity;
        this.sqlType = sqlType;
    }
}
